<template>
    <div class="myshoucang">
  <van-nav-bar title="我的收藏" class="navbar" left-text="返回" left-arrow   @click-left="$router.go(-1)"></van-nav-bar>
<ka-pian :item="data"/>
    </div>
</template>
<script>
import KaPian from '@/components/KaPian.vue'
    export default {
  components: { KaPian },
  data() {
    return {
      data:'' 
    }
  },
  mounted () {
    let url=`/sc_cha?uname=${this.$store.state.username}`
        this.axios.get(url).then(res=>{
      
          this.data=res.data.result
         
        })
        
    }
    }
</script>

<style lang="scss" scoped>

</style>